home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / mint / l_1199 / 1792 < prev    next >
Encoding:
Internet Message Format  |  1994-08-27  |  770 b 

  1. Date: Fri, 29 Jul 1994 10:37:31 -0700
  2. From: ersmith@netcom.com (Eric R. Smith)
  3. Message-Id: <199407291737.KAA21532@netcom4.netcom.com>
  4. To: entropy@terminator.rs.itd.umich.edu, mint@terminator.rs.itd.umich.edu
  5. Subject: Re:  Pvfork()
  6.  
  7. Pvfork() behaves exactly as it should (and exactly as vfork() does under
  8. BSD Unix). If the parent and child were both running in the same
  9. address space at the same time, they could easily trample on each other;
  10. in particular, their stacks are very susceptible to damage (imagine the
  11. potential for havoc if the child calls exec() at the same time the parent
  12. calls another function; since both processes are using the same stack,
  13. the local variables in exec() and in the parent's foo() function would
  14. occupy the same space in memory!
  15.  
  16. Eric
  17.